﻿using System;

namespace EventExample
{
    class NewMagazineEventArgs : EventArgs
    {
        private readonly string _magazineName;
        private readonly int _volume;

        public string MagazineName => _magazineName;

        //public string MagazineName
        //{
        //    get { return _magazineName; }
        //}

        public int Volume => _volume;

        //public int Volume
        //{
        //    get { return _volume; }
        //}

        public NewMagazineEventArgs(string magazineName, int volume)
        {
            _magazineName = magazineName;
            _volume = volume;
        }
    }
}